﻿@using SelfMadeMillionaire.Web.Infrastructure
@using SelfMadeMillionaire.Core.Enums

@{
    Layout = "~/Views/Shared/_MainLayout.cshtml";
}

@{
    bool isMMM = ViewContext.RouteData.Values["controller"].ToString() == "MaggiesMoneyMountain";
    bool isJustActivated = ViewContext.RouteData.Values["action"].ToString() == "Activated";
    string bannerImage = string.Format("~/Content/images/{0}", isMMM ? "mmm_logo.png" : "company_logo_1.png");    
}

<script>
	(function (i, s, o, g, r, a, m) {
		i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }

		, i[r].l = 1 * new Date(); a = s.createElement(o),
		m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
	})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

	ga('create', 'UA-49579477-1', '@Request.Url.Authority');
	ga('send', 'pageview');

</script>

<!--social floating share link-->
<div style="position:fixed; top:320px;left:-5px;background-color: #EEE; z-index: 1000; padding:10px 10px 10px 15px; border-top-right-radius:6px; border-bottom-right-radius:6px; box-shadow:0 0 3px #999;">
<script type="text/javascript">
    (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

                            <div class="fb-share-button" data-type="button_count" style="margin-bottom:15px;margin-top:15px"></div>
                            <div style="width:90px;margin-bottom:10px">
                            <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
                            <script type="text/javascript">
                                !function (d, s, id) {
                                    var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + '://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js, fjs); }
                                }
                                (document, 'script', 'twitter-wjs');
                            </script>
                            </div>
            

</div>
<!--social floating share link-->

<div class="header_part">
	<div class="container">
		<div class="row">

			<div class="col-lg-12">


				<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
					<div class="container">
						<div class="navbar-header">
							<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
						</div>

						<!-- Collect the nav links, forms, and other content for toggling -->
						<div class="collapse navbar-collapse navbar-ex1-collapse">
							<ul class="nav navbar-nav navbar-right">
								<li><a href="@Url.Action("Index", "Home")">Home</a></li>
								<li class="dropdown">
									<a href="#" class="dropdown-toggle" data-toggle="dropdown">News Letter Issues <b class="caret"></b></a>
									<ul class="dropdown-menu">
										<li><a href="@Url.Action("Index", "Newsletters", new { startDate = new DateTime(2012, 1, 1).ToString(Constants.DATE_FORMAT), endDate = new DateTime(2012, 12, 31).ToString(Constants.DATE_FORMAT) })">News Letter Issues 2012</a></li>
										<li><a href="@Url.Action("Index", "Newsletters", new { startDate = new DateTime(2013, 1, 1).ToString(Constants.DATE_FORMAT), endDate = new DateTime(2013, 12, 31).ToString(Constants.DATE_FORMAT) })">News Letter Issues 2013</a></li>
										<li><a href="@Url.Action("Index", "Newsletters", new { startDate = new DateTime(2014, 1, 1).ToString(Constants.DATE_FORMAT), endDate = new DateTime(2014, 12, 31).ToString(Constants.DATE_FORMAT) })">News Letter Issues 2014</a></li>
										<li><a href="@Url.Action("Index", "Newsletters", new { startDate = new DateTime(2015, 1, 1).ToString(Constants.DATE_FORMAT), endDate = new DateTime(2015, 12, 31).ToString(Constants.DATE_FORMAT) })">News Letter Issues 2015</a></li>
									</ul>
								</li>
								<li><a href="@Url.Action("Index", "Publications")">News & Publications</a></li>
                                
                                <li class="dropdown">
									<a href="#" class="dropdown-toggle" data-toggle="dropdown">Products & Portfolios <b class="caret"></b></a>
									<ul class="dropdown-menu">
                                        <li><a href="@Url.Action("Index", "SelfmadeMillionaire")">Self-made Millionaire</a></li>
										<li><a href="@Url.Action("Index", "MaggiesMoneyMountain")">Maggie's Money Mountain</a></li>
                                        <li><a href="@Url.Action("Index", "BeginnersPortfolioOptions101")">Beginners Portfolio Options 101</a></li>
									</ul>
								</li>

								
								<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools and Education <b class="caret"></b></a>
									<ul class="dropdown-menu">
										<li><a href="@Url.Action("Index", "Tools")">Tools</a></li>
										<li><a href="@Url.Action("Index", "Education")">Education</a></li>
									</ul>
								</li>
								<li><a href="@Url.Action("Index", "ContactUs")">Contact Us</a></li>
								<li><a href="@Url.Action("Index", "AboutUs")">About Us</a></li>
								<li><a href="@Url.Action("Index", "Blog")">BLOG</a></li>
								@*<li>@Html.Partial("_LoginPartial")</li>*@
							</ul>
						</div>
						<!-- /.navbar-collapse -->
					</div>
					<!-- /.container -->
				</nav>



			</div>

		</div>
	</div>
</div>
<!--end header part-->

<!--banner part-->
<div class="banner_part">
	<div class="container">
		<div class="row">
			<div class="banner_img" style="padding:0">
				<div class="col-sm-8 col-md-8 col-lg-9" style="margin-top:20px;">
					<img class="img-responsive" src="@Url.Content(bannerImage)" alt="" title="" />
				</div>
				<div class="col-sm-4 col-md-4 col-lg-3 clearfix">
                    <div class="welcome_user_info" style="margin-bottom: 10px;">

                    </div>
					@if (Request.IsAuthenticated)
     {
                        <div class="welcome_user_info" style="margin-bottom: 10px;">
                            @if (User.IsInRole(UserRole.Admin.ToString()))
                            {
								                        <p>
									                        Welcome,&nbsp;<span>@User.Identity.Name</span>
								                        </p>
                            }
                            else
                            {
								                        <p>
									                        Welcome,&nbsp;<span>@((string.IsNullOrWhiteSpace(((CustomPrincipal)User).FirstName) ? "" : ((CustomPrincipal)User).FirstName) + " " + (string.IsNullOrWhiteSpace(((CustomPrincipal)User).LastName) ? "" : ((CustomPrincipal)User).LastName))</span>
								                        </p>
								
                            }
                        </div>
                            if (!User.IsInRole(UserRole.Admin.ToString()))
                            {
						<div class="reg_user_info clearfix">
                            <a href="@Url.Action("Index", "Profile", new { sts = 1 })" class="">
                                @{Html.RenderAction("RenewText", "Home");}
                            </a>
						</div>
                            }
						<div class="login_btn">
                            <div class="col-lg-7" style="padding-left:0;padding-right:5px;">
                                @if (!User.IsInRole(UserRole.Admin.ToString()))
                                {
                                <a href="@Url.Action("Index", "Profile")" class="btn btn-info profile_btn">My Profile</a>
                                }

                            </div>
                            <div class="col-lg-5" style="padding:0">
                                <a href="@Url.Action("LogOut", "Account")" class="btn btn-danger">Logout</a>
                            </div>
						</div>
     }
     else
     {
                        <div class="welcome_user_info" style="margin-bottom: 10px;">
                            <p>
								&nbsp;
							</p>
                        </div>
						<div class="subscribe_now clearfix" style="margin-bottom: 10px;margin-top: 0px;">
							<a href="@Url.Action("Subscribe", "MailingList")">
								<h2>Subscribe NOW
									<br />
									for FREE</h2>
							</a>
						</div>
						<div class="login_btn"><a href="@Url.Action("Login", "Account")" class="btn btn-success">Login</a></div>
     }
				</div>
			</div>
		</div>
	</div>
</div>
<!--end banner part-->

<!--company mission-->
@*
<div class="company_mission">
	<div class="container">
		<h3>Our Mission Statement</h3>

		@if (isMMM)
  {
			<p>
				The purpose of Maggie’s Money Mountain and the Tracking Portfolio that follows it is to identify stocks that are capable of producing a long-term annualized rate of return equal to or exceeding 12% within the overall portfolio.
We intend to accomplish this objective by finding stocks we believe to be fairly or undervalued at the current price based upon the criteria we use for selecting investments. This process will be conducting through the use of our proprietary screening criteria developed through years of trial and error, using our own personal funds in the process. The returns shown for these investments will include any dividends collected as well as realized and non-realized capital gains on stock positions.
When capital gains are realized or dividends are received, they will be placed into the cash balance of the account and used for future investment activities. All trades made will be on a cash covered basis; no trading in this account will be based on using margin accounts. This simply means that the account will have a current cash balance sufficient to cover the amount of any trade made within the account at the time each trade is executed.
			</p>
  }
  else
  {
			<p>
				The purpose of Self-Made Millionaire is to provide an opportunity for those interested in learning how to accumulate wealth by making small gains, on a consistent basis, over an extended period of time, through the miracle of mathematical compounding with the information and skills necessary to do so.  Our objective is to generate a 15% annualized rate of return on total account capital allocated to the Tracking Portfolio which will be used to measure and display the level of our success toward achieving this objective.
			</p>
  }
	</div>
</!--div>
<!--end company mission-->
*@

<!--body container-->
<div class="container landing_page_content">
				@RenderBody()
</div>
<!--end body container-->

<div class="disclaimer_block" style="margin-top:100px">
	<div class="container">
		<h3>DISCLAIMER</h3>
	</div>
</div>
<div class="container disclaimer_container">
	<p>All information presented on this site represents only the opinions of the author.  It is in no way a recommendation to buy or sell any of the securities discussed.  The author is presenting information that is accurate to the best of his knowledge at the time it is written but provides no warranty, expressed or implied, as to the accuracy of this information.  It is the intention of this site to present to its readers a method of trading securities that allows for the consistent generation of profits within a core account.  The trades shown in the Tracking Portfolio and discussed as executed trades in the Trade Alerts and Updates are actual trades that were made with real funds allocated toward the original funding of the Tracking Portfolio.  This however should not be construed to indicate that any reader would be able to enter the same trades at similar prices thus producing the same results as the author.</p>
</div>

<!--footer block-->
<div class="container">
	<div class="footer_block">
		<p>Content copyright 2012 - @DateTime.Now.Year. SELF-MADEMILLIONAIRE.COM. All rights reserved.</p>
	</div>
</div>

